package com.hzmall.util;

public class DecodeTest {
    public static void main(String[] args) {
        String fileName = "123abc.jpg.bmp";
        Integer position = fileName.lastIndexOf(".");
        System.out.println(fileName.substring(position+1));
    }
}
